package ccpc_2024;

import java.io.*;
import java.util.*;

public class Main {
    static int[] num;
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        for(int i=0; i<n; i++){
            String[] arr = br.readLine().split(" ");
            int len = Integer.parseInt(arr[0]);
            int k = Integer.parseInt(arr[1]);
            String[] nums = br.readLine().split(" ");
            num = new int[len];
            for(int j=0; j<len; j++){
                num[j] = Integer.parseInt(nums[j]);
            }
            int l =0, index = 0;



        }
    }
}
